package com;

import javax.servlet.ServletContext;
import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;

public class Lison implements ServletContextListener {

    @Override
    public void contextDestroyed(ServletContextEvent sce) {
        ServletContext context = sce.getServletContext();

        System.out.println("servletcontest 被销毁");
    }

    @Override
    public void contextInitialized(ServletContextEvent sce) {
        System.out.println("servletcontest 初始化");
    }
}
